/*************************************************************
MYD Engine - v0.1

file: myd_tilemap.h
creation date: 04/08/09
*************************************************************/

#ifndef MYD_TILEMAP
#define MYD_TILEMAP

#include "entities/myd_entity.h"
#include "entities/myd_sprite.h"
//#include "graphics/myd_vertexbuffer.h"

namespace myd
{
	class Renderer;
	class MYD_API Tilemap
	{

	public:
		//const / dest
		Tilemap(void);
		~Tilemap(void){;}
		
		void SetPos(int x, int y);
		void draw(Renderer *tm_renderer);
		void trueDraw(Renderer *tm_renderer);
		void update(float fTimeBetweenFrames){;}

		std::vector<Sprite*> tilesVector;

		int startingX;
		int startingY;
		int tilesPerWidth;
		int tilesPerHeight;

		TextureVertex *wn_vertices;
		Texture::Ptr wn_texture;
	};
}//end namespace
#endif //MYD_TILEMAP
